import httpRequest from "@/request/requestConfig.js"

// 封装get请求
export function ajaxGet(url,params){
    return httpRequest.request({
        url:url,
        method:"GET",
        params:params
    })
}

// 封装post请求
export function ajaxPost(url,data){
    return httpRequest.request({
        url:url,
        method:"POST",
        data:data
    })
}
